//
//  MoveGuideCell.m
//  SHHCPhone
//
//  Created by gfsh on 14-6-22.
//  Copyright (c) 2014年 sheng long. All rights reserved.
//

#import "MoveGuideCell.h"

@implementation MoveGuideCell

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        UIImageView *circleIV = [[UIImageView alloc]initWithFrame:CGRectMake(0, 5, 14, 14)];
        circleIV.image = [UIImage imageNamed:@"菜品名称页-圆圈icon"];
        [self addSubview:circleIV];
        
        UIView *bg = [[UIView alloc]initWithFrame:CGRectMake(28, 0, self.frame.size.width-28, 62)];
        bg.backgroundColor = GET_COLOR(@"f6f6f6");
        bg.layer.cornerRadius = 4.f;
        [self addSubview:bg];
        
        _titleLab = [[UILabel alloc]initWithFrame:CGRectMake(14, 0, bg.frame.size.width-62-14, 31)];
        _titleLab.textAlignment = NSTextAlignmentLeft;
        _titleLab.textColor = GET_COLOR(@"ff8cb7");
        _titleLab.font = [UIFont systemFontOfSize:15];
        [bg addSubview:_titleLab];
        
        _detailLab = [[UILabel alloc]initWithFrame:CGRectMake(14, _titleLab.frame.origin.y+_titleLab.frame.size.height, _titleLab.frame.size.width, 31)];
        _detailLab.textAlignment = NSTextAlignmentLeft;
        _detailLab.textColor = GET_COLOR(@"3e3e3e");
        _detailLab.font = [UIFont systemFontOfSize:15];
        [bg addSubview:_detailLab];
        
        _sportIV = [[UIImageView alloc]initWithFrame:CGRectMake(bg.frame.size.width-62-14+(62-41)/2, (62-41)/2, 41, 41)];
        [bg addSubview:_sportIV];
        
    }
    return self;
}



@end
